package org.idea.qiyu.framework.apm.agent.collector.service;

import org.idea.qiyu.common.dto.AgentCollectorDataDTO;

import java.util.Map;

/**
 * @Author linhao
 * @Date created in 7:09 下午 2021/9/9
 */
public interface IAgentCollectorService {

    /**
     * 记录数据
     *
     * @param agentCollectorDataDTO
     * @return
     */
    boolean reportData(AgentCollectorDataDTO agentCollectorDataDTO);

    /**
     * 获取所有数据
     *
     * @return
     */
    Map<String,Object> getAllData();
}
